#include <iostream>
#include <stdio.h>

class a{
public:
	int k;	
	void p()
	{
		printf("aaaaaa  %d\n",k);
	}
};
	
class b : public a
{
public:
	int k;
	void p()
	{
		printf("bbbbbb  %d\n",k);
	}
};
	
int main()
{
		b b1;
		b1.k=3;
		b1.p();
		
		b1.a::k=2;
		b1.a::p();

		return 0;
}
